package cn.edu.gues.infosystam.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 苏小小
 * @since 2020-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Report对象", description="")
public class Report implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "填报ID")
    @TableId(value = "report_id", type = IdType.AUTO)
    private Integer reportId;

    @ApiModelProperty(value = "学号")
    private String sno;

    @ApiModelProperty(value = "任务ID")
    private Integer taskId;

    @ApiModelProperty(value = "填报内容")
    private String reportContent;

    @ApiModelProperty(value = "逻辑删除（0：未删除，1：删除）")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "最后修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


    @TableField(exist = false)
    private String sname;

    @TableField(exist = false)
    private String cname;

    @TableField(exist = false)
    private String college;


}
